//Builder.java
package builder.sample;

/**
 *@author:youtubezou
 *@version:2012-7-15
 */
public abstract class Builder {
	public abstract void buildPartOne(String name);
	public abstract void buildPartTwo(double price);
	public abstract void buildPartThree(int size);
	
	/*Note: there are more than one component,
	 * and all components have no relation.
	 * So, retrieve the product separately. */
	public abstract ProductA retrieveProductA();
	public abstract ProductB retrieveProductB();
}
